define(function(require) {
	var $ = require("jquery");
	var justep = require("$UI/system/lib/justep");
	var Baas = require("$UI/demo/baas/baas");
	var CommonUtils = require("$UI/system/components/justep/common/utils");

	var Model = function() {
		this.callParent();
	};
	
	
	Model.prototype.toUrl = function(url) {
		return require.toUrl(url);
	};	
	
	Model.prototype.open = function(url) {
		if (this.getStatus() === 5) {
			this.comp('windowDialog1').open({src:require.toUrl(url)});
		}
	};
			
	return Model;
});

